﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace ViewMaker.Core.Utils
{
    public static class ICollectionExtension
    {
        public static void Move(this IList @this, int source, int target)
        {
            var item = @this[source];
            @this.RemoveAt(source);
            @this.Insert(target, item);
        }

    }
}
